home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20021006-20030409 / 000036_pytcayrn@freemail.hu_Mon Oct 28 09:57:20 EST 2002.msg < prev    next >
Text File  |  2003-04-08  |  1KB  |  34 lines

  1. Article: 13799 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: pytcayrn@freemail.hu
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: redirect io to external cmd (like cu "~|cmd" and "~$cmd")
  6. Date: 28 Oct 2002 06:43:00 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 16
  9. Message-ID: <86c66124.0210280643.30d17ab6@posting.google.com>
  10. NNTP-Posting-Host: 193.225.155.254
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1035816180 7959 127.0.0.1 (28 Oct 2002 14:43:00 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 28 Oct 2002 14:43:00 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13799
  17.  
  18. Hi,
  19.  
  20. In C-kermit 7.0 (HP-UX), how can I redirect binary data coming from a
  21. directly connected device on /dev/tty0p2 to an external application
  22. like "od -tx1", so that decoded hexa numbers should appear on the
  23. screen after I issue a "CONNECT" command?
  24.  
  25. And how can I do the reverse:
  26. starting an external command whose output is dumped to the serial
  27. line?
  28.  
  29. These functions exist in "cu" ("~|cmd" and "~$cmd") but using them in
  30. kermit would be more convenient.
  31.  
  32. Thanks in advance,
  33. tamas
  34.